﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="reportesMain.aspx.cs" Inherits="GIO.paginas.reportesMain"
    MasterPageFile="~/paginas/gio.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <form id="form1" runat="server" action="">
    <div>

        
            
                <asp:RadioButton ID="IncidenteCheckBox" runat="server" Text="Por Cliente" GroupName="tipoForm" oncheckedchanged="PorClienteCheckedMethod" AutoPostBack="True"
                />
                
                 <asp:RadioButton ID="checkBoxPorFecha" runat="server" Text="Por Fecha" GroupName="tipoForm" oncheckedchanged="PorFechaCheckedMethod" AutoPostBack="True"
                 /> 

                 <asp:RadioButton ID="AtrasadoCheckBox" runat="server" Text="Atrasados" GroupName="tipoForm" oncheckedchanged="AtrasadoCheckedMethod" AutoPostBack="True"
                />  

                 <asp:RadioButton ID="UsuarioCheckBox" runat="server" Text="Por Usuario" GroupName="tipoForm" oncheckedchanged="UsuarioCheckedMethod" AutoPostBack="True"
                />  


                <script type="text/javascript">
                    $(function () {
                        $("#from").datepicker({
                            defaultDate: "+1w",
                            changeMonth: true,
                            numberOfMonths: 1,
                            onClose: function (selectedDate) {
                                $("#to").datepicker("option", "minDate", selectedDate);
                            }
                        });
                        $("#to").datepicker({
                            defaultDate: "+1w",
                            changeMonth: true,
                            numberOfMonths: 1,
                            onClose: function (selectedDate) {
                                $("#from").datepicker("option", "maxDate", selectedDate);
                            }
                        });

                    });
                                                             
                </script>
              
              
                <div id="divFechas" runat="server" style="display:none;">
                    <br/>
                    <label>Desde: </label>
                    <input type="text" id="from" name="from" />
                    <br/>
                     <label>Hasta: </label>
                    <input type="text" id="to" name="to" />
                </div>

                <div id="divClientes" runat="server" style="display:none;">
                    <br/>
                    <select>
                      <option value="cliente1">Cliente 1</option>
                      <option value="cliente2">Cliente 2</option>
                      <option value="cliente3">Cliente 3</option>
                      <option value="cliente4">Cliente 4</option>
                    </select>
                </div>

                <div id="divUsuarios" runat="server" style="display:none;">
                    <br/>
                    <select>
                      <option value="usuario1">Usuario 1</option>
                      <option value="usuario2">Usuario 2</option>
                      <option value="usuario3">Usuario 3</option>
                      <option value="usuario4">Usuario 4</option>
                    </select>
                </div>

                <br/>
                <button id="buttonSubmitSearch" onclick="return buttonSubmitSearch_onclick()">Crear Reporte</button>
                
      
        
    </div>
    </form>
</asp:Content>
